import 'package:favorcate/core/services/http_request_model.dart';
import 'package:favorcate/core/viewmodel/base_view_model.dart';
import 'package:flutter/material.dart';
import 'package:favorcate/core/model/meal_model.dart';
import 'package:flutter/cupertino.dart';

class JKMealViewModel extends BaseMealViewModel {

  JKMealViewModel() {
    JKRequestModel.getMealData().then((value) {
      meals = value;
      print('------通知所有共享数据的地方--------');
      // 通知所有共享数据的地方
      notifyListeners();
    });
  }

}